[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
LGS               Load Far Pointer in GS (386)       Flags: O D I T S Z A P C

LGS destination register, memory operand

           Logic:        GS . SEGMENT(memory operand)
                         destination register . OFFSET(memory operand)

     This instruction loads the segment address of a far pointer into GS and
     the offset address of pointer into the indicated destination register.

  --------------------------------------------------------------------------
   Operands                   Clocks   Transfers  Bytes  Example
   LGS  register, farpointer               -        4    LGS DI, FARLOC
  --------------------------------------------------------------------------

        Note:          The size of the source and destination operands
                       must be the same as the current segment word size.

See Also: LFS LSS
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson